home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / InvoiceHeader.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  1.8 KB  |  60 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM 
  3.         "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  4.  
  5. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0">
  6.  
  7. <intro>
  8. <p>Copyright Notice</p>
  9. <p>Common Business Library 2.0<br/>
  10. Copyright 1999 Commerce One, Inc.</p>
  11. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  12. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  13. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  14. </intro>
  15.  
  16.     <!-- 
  17.         InvoiceHeader is used to specify references which relate to the whole
  18.         invoice, for example, Purchase Order Numbers, Delivery Numbers, etc.
  19.  
  20.         I modeled these elements as type "string". The EAN/EDIFACT
  21.         format is an..3 (up to 3 alpha numeric characters) this seems
  22.         very constrained.
  23.  
  24.         InvoiceHeader is based on SG1 in EAN/EDIFACT
  25.      -->
  26.     <elementtype name="InvoiceHeader">
  27.         <model>
  28.         <sequence>
  29.  
  30.             <!--  InvoiceDate is the date this doucment was generated on  -->
  31.             <element type="date" name="InvoiceDate" />
  32.             <element type="date" name="DeliveryDate" occurs="?" />
  33.             <element type="date" name="TaxPointDate" occurs="?" />
  34.  
  35.             <!--  CT  -->
  36.             <element type="string" name="ContractNumber" occurs="?" /> 
  37.  
  38.             <!--  PL  -->
  39.             <element type="string" name="PriceListNumber" occurs="?" />
  40.     
  41.             <!--  PI  -->
  42.             <element type="string" name="PriceListVersionNumber" occurs="?" />
  43.  
  44.             <!--  AMW  -->
  45.             <element type="string" name="BuyersCatalogNumber" occurs="?" />
  46.  
  47.             <!--  VN  -->
  48.             <element type="string" name="SupplierOrderNumber" occurs="?" />
  49.  
  50.             <!--  ON  -->
  51.             <element type="string" name="BuyerOrderNumber" occurs="?" />
  52.  
  53.             <!--  the invoice is always in a single currency  -->
  54.             <element type="CurrencyCode" name="InvoiceCurrency"/>
  55.         </sequence>
  56.         </model>
  57.     </elementtype>
  58.  
  59. </schema>
  60.